package cn.lhn.ridersclub.service;

import cn.lhn.ridersclub.entity.Captcha;

public interface CaptchaService {

    void sendCaptchaMail(String email, String purposes) throws RuntimeException;

    void verifyCaptcha(String email, String code) throws RuntimeException;

    Captcha getCaptchaByEmail(String email);
}
